export const titles = {
	id: '编号',// id
	deviceSN:'设备序列号',
	unityName: '所属单位',// unityName
	useType: '使用方类型',// useType
	useTypeName: '使用方名称',// useTypeName
	place: '所在位置',// place
	productName: '产品类型',// productName
    deviceId: '设备编号',// deviceSN
	alarmTitle: '告警事件',// alarmTitle
	alarmType: '告警类型',// alarmType
	confirm:"确认结果",// confirm
	createdAt: '告警时间',// createdAt
	nickname:"个体用户",// nickname
	productId: '产品类型',// productId
	startTime: '告警时间',// startTime
	alarmLevel: '事件等级',// startTime
}
export const prompt = {
	deviceSN: '请输入' + titles.deviceSN,
	alarmTitle: '请输入' + titles.alarmTitle,
	alarmType: '请选择' + titles.alarmType,
	confirm: '请选择' + titles.confirm,
	nickname: '请输入' + titles.nickname,
	productId: '请选择' + titles.productId,
	alarmLevel: '请选择' + titles.alarmLevel,
}
export const defaultSearchForm = () => {
	return {
		deviceSN:'',
		unityName: '',// unityName
		projectName: '',// projectName
		startTime: '',// startTime
		endTime: '',// endTime
		productId:"",// productId
		alarmLevel: "",// alarmLevel
		alarmType: "",// alarmType
		createdAt:[],
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		supUnityName: null,// supUnityName
		unityName: null,// unityName
		projectName: null,// projectName
		city: null,// city
		contactName: null,// contactName
		contactPhone: null,// contactPhone
		updatedAt: null,// updatedAt
		supUnityId:"",
		projectId:""
	}
}
